<tagLib name="fanwe" />
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Static/Js/dataList.js"></script>
<table id="checkList" class="table-list list" cellpadding="0" cellspacing="0" border="0">
    <thead>
        <tr>
            <th width="80"><a href="javascript:sortBy('id',<?php echo !isset($_GET['_sort']) || $_GET['_sort'] == 0 ? '1' : '0';?>,'check')">{$Think.lang.ID}</a></th>
            <th>图片</th>
			<th>产品名称</th>
			<th width="80">价格</th>
            <th width="130">分类</th>
            <th width="80">{$Think.lang.HANDLE}</th>
        </tr>
    </thead>
    <?php $index = -1; ?>
    <tbody>
		<foreach name="list" item="item">
		<?php
			$index++;
			if($index % 2 == 0)
				$tr_class = ' class=""';
			else
				$tr_class = ' class="even"';
		?>
        <tr{$tr_class}>
            <td {$row_count}>{$item.id}</td>
            <td><img src="{$item.img}" width="150" height="150"/></td>
            <td>{$item.title}</td>
			<td>{$item.price}</td>
            <td><?=$cats[$item['cate_id']]['cate_name']?></td>
			<td{$row_count}>
				<!--<a href="javascript:;" onclick="editData(this,'{$item.share_id}','share_id')">{$Think.lang.EDIT}</a>&nbsp;&nbsp;&nbsp;&nbsp;--><a href="?a=del&m=WoguProducts&id={$item.id}">{$Think.lang.REMOVE}</a>
			</td>
        </tr>
		</foreach>
    </tbody>
</table>
<div class="pager">{$page}</div>
<include file="Public:footer" />